package com.cow.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cow.dao.ReturnGoodsMapper;
import com.cow.entity.ReturnGoods;
import com.cow.service.ReturnGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ReturnGoodsServiceImpl extends ServiceImpl<ReturnGoodsMapper, ReturnGoods> implements ReturnGoodsService{

    @Autowired
    private ReturnGoodsMapper returnGoodsMapper;
    @Override
    public List<Map<String, Object>> getReturnGoodsByUserNumber(String userNumber) {
        return returnGoodsMapper.getReturnGoodsByUserNumber(userNumber);
    }
}
